package org.dtrd.modules.evaluation.service;

import org.dtrd.modules.evaluation.entity.bean.Mmas8Info;
import org.dtrd.modules.evaluation.entity.dto.Mmas8DTO;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdMmas8;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * Morisky用药依从性评估MMAS8 服务类
 * </p>
 *
 * @author QR
 * @since 2021-09-26
 */
public interface IDtrdEntEvaluationRdMmas8Service extends IService<DtrdEntEvaluationRdMmas8> {

    /**
     * 保存 mmas8 量表记录
     * @return
     */
    Mmas8Info saveMMAS8Info(Mmas8DTO dto);

    /**
     * 通过 patientId 获取最新一次的MMAS8量表记录
     */
    Mmas8Info getMMAS8InfoLatest(Integer patientId);
}
